#ifndef __BASETIMEOUT_CALLBACK_H__
#define __BASETIMEOUT_CALLBACK_H__
#include "defines.h"
#include "iksemel.h"
class baseTimeoutCallBack
{
  public:
    virtual xret handleTimeout(char *to, size_t *tlen,
                                char *msg, size_t *len) = 0;
    virtual xret handleAlert( int sock, char *to, size_t *tlen,
                                 char *msg, size_t *len) = 0;
    virtual xret handlePeriodic(iksparser *parser,const char *from, size_t flen) = 0;
    virtual ~baseTimeoutCallBack() {}
  protected:
  private:
};
#endif
/*
vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=4:softtabstop=2:encoding=utf-8:textwidth=80
*/
